package com.itheima.trade;

import com.itheima.api.config.FeignConfig;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * Hello world!
 *
 */
@EnableFeignClients(basePackages = "com.itheima.api.client",defaultConfiguration = FeignConfig.class)

@SpringBootApplication

@MapperScan("com.itheima.trade.mapper")
public class TradeApp

{
    public static void main( String[] args )
    {
        SpringApplication.run(TradeApp.class);
    }
}
